package mobilizator.app.data;

public class Category {

	private long id;
	private long idParent;
	private String name;
	private String description;

	public Category(String name) {
		this(-1, name);
	}

	public Category(int id, String name) {
		this.name = name;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getIdParent() {
		return idParent;
	}

	public void setIdParent(long idParent) {
		this.idParent = idParent;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
